<?php header('P3P: CP="ALL DSP COR PSAa PSDa OUR NOR ONL UNI COM NAV IDC DSP COR CURa ADMa OUR IND PHY ONL COM STA"'); ?>
<?php

// Copyright 2007 Facebook Corp.  All Rights Reserved.
// 
// Application: loh
// File: 'index.php' 
//   This is a sample skeleton for your application. 
// 
require_once 'facebook/php/facebook.php';
$appapikey = Config::fb_key;
$appsecret = Config::fb_secret;
$facebook = new Facebook($appapikey, $appsecret);
$fbuid =  $facebook->require_login();
try {
    $facebook->promote_session();
} catch(Exception $e) {
    echo "please";
}
Registry::set('facebook', $facebook);
